#ifndef ITEMWITHLABEL_H
#define ITEMWITHLABEL_H

#include <QWidget>
#include <QLabel>

namespace Ui {
class ItemWithLabel;
}

class ItemWithLabel : public QWidget
{
    Q_OBJECT

public:
    explicit ItemWithLabel(QWidget *parent = 0);
    ~ItemWithLabel();
    void setShowName(const QString&);
public slots:
    void setShowValue(const QString&);
    //void

private:
    Ui::ItemWithLabel *ui;
    QString mSetName;
    QString mValue;
signals:
    void clicked();

    // QObject interface
public:
    bool eventFilter(QObject *, QEvent *);
};

#endif // ITEMWITHLABEL_H
